package similan.tcell;

import java.util.List;

import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContext;

@ManagedBean
@ViewScoped
public class Tcell {

	public String addMessage(){
		
		FacesContext.getCurrentInstance().addMessage("simNo",new FacesMessage(FacesMessage.SEVERITY_ERROR, "s","c"));
		
		return null;
	}
	
	public List getText1(){
		System.out.println("1");
		return null;
	}
	public List getText2(){
		System.out.println("2");
		return null;
	}
	public List getText3(){
		System.out.println("3");
		return null;
	}
}
